import React from 'react';//因为 JSX 语法糖的实质是调用React.createElement方法，所以你必须在文件头部引用import React from 'react'。
import {View,Text} from 'react-native';

const getFullName=(firstName,secondName,thirdName)=>{
    return firstName+" "+secondName+" "+thirdName;
}

const Cat=()=>{
    //可以放变量
    const name="Mary";
    //可以放表达式

    return (
        <View>
            <Text>
                {/*Hello,I am your cat {name}*/}
                Hello,I am {getFullName("A","B","C")}
            </Text>
        </View>
    );
}
export default Cat;
